<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <script type="text/javascript" src="{$smarty.const.__PUBLIC_JS__}/jquery-3.1.1.js"></script>
    <script type="text/javascript" src="{$smarty.const.__PUBLIC_JS__}/order.js"></script>

</head>
<body>
<form method="post" action="{$smarty.const.__CONTROLLER__}/ReceivedGoods">
    开始时间:<input type="text" id="start_time" name="start_time">
    结束时间:<input type="text" id="end_time" name="end_time">
    <input type="submit" value="搜索">
</form>
<div>
    {foreach $goods_list as $k => $v}
    <div>
        <div style="float: left;">{$v.orderNum}</div>
        <div style="float: left;"> &nbsp {$v.orderPrice}</div>
        <div style="float: left;"> &nbsp {$v.orderTime}</div>
        <div style="float: left;"> &nbsp {$v.orderSource}</div>
        {if $v.isApplyRefund == 0}
        <div>&nbsp 未结算 </div>
        {elseif $v.isApplyRefund == 1}
        <div>&nbsp 结算 </div>
        {/if}
        <div><input type="button" value="详情" onclick='details("{$v.orderNum}","{$smarty.const.__CONTROLLER__}/Details")'></div>
    </div>
    {/foreach}
</div>
{$page_list}
<div style="display: none;position: absolute ;top: 50%;left: 40%" id="prompt">
    <div>表单单号:<input id="goodsCode" type="text" name="goodsCode" readOnly="true" ></div>
    <div>订单总额:<input id="totalMoney" type="text" name="totalMoney" readOnly="true"></div>
    <div>下单数量:<input id="goodsNum" type="text" name="goodsNum" readOnly="true"></div>
    <div>下单用户:<input id="account" type="text" name="account" readOnly="true"></div>
    <div>订单状态:<input id="status" type="text" name="status" readOnly="true"></div>
    <div>下单时间:<input id="time" type="text" name="time" readOnly="true"></div>
    <div>下单系统:<input id="system" type="text" name="system" readOnly="true"></div>
    <div>是否结算:<input id="isBalance" type="text" name="isBalance" readOnly="true"></div>
    <div>结算时间:<input id="BalanceTime" type="text" name="BalanceTime" readOnly="true"></div>
    <div>结算时间点:<input id="BalanceTimePoint" type="text" name="BalanceTimePoint" readOnly="true"></div>
    <div>所属分销商:<input  type="text"  readOnly="true" value="分销商"></div>
    <div>奖金提成(元):<input id="BonusCommission" type="text" name="BonusCommission" readOnly="true"></div>
    <div>收货联系人:<input id="People" type="text" name="People" readOnly="true"></div>
    <div>下单用户:<input id="phone" type="text" name="phone" readOnly="true"></div>
    <div>收货地址:<input id="address" type="text" name="address" readOnly="true"></div>
    <div>用户备注:<input id="remarks" type="text" name="remarks"></div>
    <div>图片<img id="photo" style="width: 64px;height: 64px;" name="photo"></div>
    <div>商品名:</div>
    <input type="button" value="取消">
</div>
</body>
</html>